/**
 * 
 */
package com.effectiv.req1.domain;


import javax.validation.constraints.NotNull;

import org.joda.time.DateTime;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @author Dhrubo
 *
 */

@ToString
@EqualsAndHashCode(exclude={"complexity","createdBy","lastUpdatedBy","createdDate","lastUpdatedDate"})
public class Actor {
	
	@NotNull
	@Getter @Setter
	private String name;
	
	@Getter @Setter
	private String complexity;
	
	
	@CreatedBy
	@Getter @Setter
	private User createdBy;
	
	@LastModifiedBy
	@Getter @Setter
	private User lastUpdatedBy;
	
	@CreatedDate
	@Getter @Setter
	private DateTime createdDate;
	
	@LastModifiedDate
	@Getter @Setter
	private DateTime lastUpdatedDate;
}
